package com.lilosoft.business.cga.models;

import java.util.ArrayList;
import java.util.List;

public class CgaCaseRelatedPersonExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CgaCaseRelatedPersonExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCaseIdIsNull() {
            addCriterion("CASE_ID is null");
            return (Criteria) this;
        }

        public Criteria andCaseIdIsNotNull() {
            addCriterion("CASE_ID is not null");
            return (Criteria) this;
        }

        public Criteria andCaseIdEqualTo(String value) {
            addCriterion("CASE_ID =", value, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdNotEqualTo(String value) {
            addCriterion("CASE_ID <>", value, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdGreaterThan(String value) {
            addCriterion("CASE_ID >", value, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdGreaterThanOrEqualTo(String value) {
            addCriterion("CASE_ID >=", value, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdLessThan(String value) {
            addCriterion("CASE_ID <", value, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdLessThanOrEqualTo(String value) {
            addCriterion("CASE_ID <=", value, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdLike(String value) {
            addCriterion("CASE_ID like", value, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdNotLike(String value) {
            addCriterion("CASE_ID not like", value, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdIn(List<String> values) {
            addCriterion("CASE_ID in", values, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdNotIn(List<String> values) {
            addCriterion("CASE_ID not in", values, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdBetween(String value1, String value2) {
            addCriterion("CASE_ID between", value1, value2, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdNotBetween(String value1, String value2) {
            addCriterion("CASE_ID not between", value1, value2, "caseId");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeIsNull() {
            addCriterion("APPLY_OBJECT_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeIsNotNull() {
            addCriterion("APPLY_OBJECT_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeEqualTo(String value) {
            addCriterion("APPLY_OBJECT_TYPE =", value, "applyObjectType");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeNotEqualTo(String value) {
            addCriterion("APPLY_OBJECT_TYPE <>", value, "applyObjectType");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeGreaterThan(String value) {
            addCriterion("APPLY_OBJECT_TYPE >", value, "applyObjectType");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeGreaterThanOrEqualTo(String value) {
            addCriterion("APPLY_OBJECT_TYPE >=", value, "applyObjectType");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeLessThan(String value) {
            addCriterion("APPLY_OBJECT_TYPE <", value, "applyObjectType");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeLessThanOrEqualTo(String value) {
            addCriterion("APPLY_OBJECT_TYPE <=", value, "applyObjectType");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeLike(String value) {
            addCriterion("APPLY_OBJECT_TYPE like", value, "applyObjectType");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeNotLike(String value) {
            addCriterion("APPLY_OBJECT_TYPE not like", value, "applyObjectType");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeIn(List<String> values) {
            addCriterion("APPLY_OBJECT_TYPE in", values, "applyObjectType");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeNotIn(List<String> values) {
            addCriterion("APPLY_OBJECT_TYPE not in", values, "applyObjectType");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeBetween(String value1, String value2) {
            addCriterion("APPLY_OBJECT_TYPE between", value1, value2, "applyObjectType");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeNotBetween(String value1, String value2) {
            addCriterion("APPLY_OBJECT_TYPE not between", value1, value2, "applyObjectType");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonNameIsNull() {
            addCriterion("RELATED_PERSON_NAME is null");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonNameIsNotNull() {
            addCriterion("RELATED_PERSON_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonNameEqualTo(String value) {
            addCriterion("RELATED_PERSON_NAME =", value, "relatedPersonName");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonNameNotEqualTo(String value) {
            addCriterion("RELATED_PERSON_NAME <>", value, "relatedPersonName");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonNameGreaterThan(String value) {
            addCriterion("RELATED_PERSON_NAME >", value, "relatedPersonName");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonNameGreaterThanOrEqualTo(String value) {
            addCriterion("RELATED_PERSON_NAME >=", value, "relatedPersonName");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonNameLessThan(String value) {
            addCriterion("RELATED_PERSON_NAME <", value, "relatedPersonName");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonNameLessThanOrEqualTo(String value) {
            addCriterion("RELATED_PERSON_NAME <=", value, "relatedPersonName");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonNameLike(String value) {
            addCriterion("RELATED_PERSON_NAME like", value, "relatedPersonName");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonNameNotLike(String value) {
            addCriterion("RELATED_PERSON_NAME not like", value, "relatedPersonName");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonNameIn(List<String> values) {
            addCriterion("RELATED_PERSON_NAME in", values, "relatedPersonName");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonNameNotIn(List<String> values) {
            addCriterion("RELATED_PERSON_NAME not in", values, "relatedPersonName");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonNameBetween(String value1, String value2) {
            addCriterion("RELATED_PERSON_NAME between", value1, value2, "relatedPersonName");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonNameNotBetween(String value1, String value2) {
            addCriterion("RELATED_PERSON_NAME not between", value1, value2, "relatedPersonName");
            return (Criteria) this;
        }

        public Criteria andCardTypeIsNull() {
            addCriterion("CARD_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andCardTypeIsNotNull() {
            addCriterion("CARD_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andCardTypeEqualTo(String value) {
            addCriterion("CARD_TYPE =", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeNotEqualTo(String value) {
            addCriterion("CARD_TYPE <>", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeGreaterThan(String value) {
            addCriterion("CARD_TYPE >", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeGreaterThanOrEqualTo(String value) {
            addCriterion("CARD_TYPE >=", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeLessThan(String value) {
            addCriterion("CARD_TYPE <", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeLessThanOrEqualTo(String value) {
            addCriterion("CARD_TYPE <=", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeLike(String value) {
            addCriterion("CARD_TYPE like", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeNotLike(String value) {
            addCriterion("CARD_TYPE not like", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeIn(List<String> values) {
            addCriterion("CARD_TYPE in", values, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeNotIn(List<String> values) {
            addCriterion("CARD_TYPE not in", values, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeBetween(String value1, String value2) {
            addCriterion("CARD_TYPE between", value1, value2, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeNotBetween(String value1, String value2) {
            addCriterion("CARD_TYPE not between", value1, value2, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardNumberIsNull() {
            addCriterion("CARD_NUMBER is null");
            return (Criteria) this;
        }

        public Criteria andCardNumberIsNotNull() {
            addCriterion("CARD_NUMBER is not null");
            return (Criteria) this;
        }

        public Criteria andCardNumberEqualTo(String value) {
            addCriterion("CARD_NUMBER =", value, "cardNumber");
            return (Criteria) this;
        }

        public Criteria andCardNumberNotEqualTo(String value) {
            addCriterion("CARD_NUMBER <>", value, "cardNumber");
            return (Criteria) this;
        }

        public Criteria andCardNumberGreaterThan(String value) {
            addCriterion("CARD_NUMBER >", value, "cardNumber");
            return (Criteria) this;
        }

        public Criteria andCardNumberGreaterThanOrEqualTo(String value) {
            addCriterion("CARD_NUMBER >=", value, "cardNumber");
            return (Criteria) this;
        }

        public Criteria andCardNumberLessThan(String value) {
            addCriterion("CARD_NUMBER <", value, "cardNumber");
            return (Criteria) this;
        }

        public Criteria andCardNumberLessThanOrEqualTo(String value) {
            addCriterion("CARD_NUMBER <=", value, "cardNumber");
            return (Criteria) this;
        }

        public Criteria andCardNumberLike(String value) {
            addCriterion("CARD_NUMBER like", value, "cardNumber");
            return (Criteria) this;
        }

        public Criteria andCardNumberNotLike(String value) {
            addCriterion("CARD_NUMBER not like", value, "cardNumber");
            return (Criteria) this;
        }

        public Criteria andCardNumberIn(List<String> values) {
            addCriterion("CARD_NUMBER in", values, "cardNumber");
            return (Criteria) this;
        }

        public Criteria andCardNumberNotIn(List<String> values) {
            addCriterion("CARD_NUMBER not in", values, "cardNumber");
            return (Criteria) this;
        }

        public Criteria andCardNumberBetween(String value1, String value2) {
            addCriterion("CARD_NUMBER between", value1, value2, "cardNumber");
            return (Criteria) this;
        }

        public Criteria andCardNumberNotBetween(String value1, String value2) {
            addCriterion("CARD_NUMBER not between", value1, value2, "cardNumber");
            return (Criteria) this;
        }

        public Criteria andCardIdIsNull() {
            addCriterion("CARD_ID is null");
            return (Criteria) this;
        }

        public Criteria andCardIdIsNotNull() {
            addCriterion("CARD_ID is not null");
            return (Criteria) this;
        }

        public Criteria andCardIdEqualTo(String value) {
            addCriterion("CARD_ID =", value, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdNotEqualTo(String value) {
            addCriterion("CARD_ID <>", value, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdGreaterThan(String value) {
            addCriterion("CARD_ID >", value, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdGreaterThanOrEqualTo(String value) {
            addCriterion("CARD_ID >=", value, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdLessThan(String value) {
            addCriterion("CARD_ID <", value, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdLessThanOrEqualTo(String value) {
            addCriterion("CARD_ID <=", value, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdLike(String value) {
            addCriterion("CARD_ID like", value, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdNotLike(String value) {
            addCriterion("CARD_ID not like", value, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdIn(List<String> values) {
            addCriterion("CARD_ID in", values, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdNotIn(List<String> values) {
            addCriterion("CARD_ID not in", values, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdBetween(String value1, String value2) {
            addCriterion("CARD_ID between", value1, value2, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdNotBetween(String value1, String value2) {
            addCriterion("CARD_ID not between", value1, value2, "cardId");
            return (Criteria) this;
        }

        public Criteria andAreaCodeIsNull() {
            addCriterion("AREA_CODE is null");
            return (Criteria) this;
        }

        public Criteria andAreaCodeIsNotNull() {
            addCriterion("AREA_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andAreaCodeEqualTo(String value) {
            addCriterion("AREA_CODE =", value, "areaCode");
            return (Criteria) this;
        }

        public Criteria andAreaCodeNotEqualTo(String value) {
            addCriterion("AREA_CODE <>", value, "areaCode");
            return (Criteria) this;
        }

        public Criteria andAreaCodeGreaterThan(String value) {
            addCriterion("AREA_CODE >", value, "areaCode");
            return (Criteria) this;
        }

        public Criteria andAreaCodeGreaterThanOrEqualTo(String value) {
            addCriterion("AREA_CODE >=", value, "areaCode");
            return (Criteria) this;
        }

        public Criteria andAreaCodeLessThan(String value) {
            addCriterion("AREA_CODE <", value, "areaCode");
            return (Criteria) this;
        }

        public Criteria andAreaCodeLessThanOrEqualTo(String value) {
            addCriterion("AREA_CODE <=", value, "areaCode");
            return (Criteria) this;
        }

        public Criteria andAreaCodeLike(String value) {
            addCriterion("AREA_CODE like", value, "areaCode");
            return (Criteria) this;
        }

        public Criteria andAreaCodeNotLike(String value) {
            addCriterion("AREA_CODE not like", value, "areaCode");
            return (Criteria) this;
        }

        public Criteria andAreaCodeIn(List<String> values) {
            addCriterion("AREA_CODE in", values, "areaCode");
            return (Criteria) this;
        }

        public Criteria andAreaCodeNotIn(List<String> values) {
            addCriterion("AREA_CODE not in", values, "areaCode");
            return (Criteria) this;
        }

        public Criteria andAreaCodeBetween(String value1, String value2) {
            addCriterion("AREA_CODE between", value1, value2, "areaCode");
            return (Criteria) this;
        }

        public Criteria andAreaCodeNotBetween(String value1, String value2) {
            addCriterion("AREA_CODE not between", value1, value2, "areaCode");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("ADDRESS is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("ADDRESS is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("ADDRESS =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("ADDRESS <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("ADDRESS >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("ADDRESS >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("ADDRESS <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("ADDRESS <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("ADDRESS like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("ADDRESS not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("ADDRESS in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("ADDRESS not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("ADDRESS between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("ADDRESS not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andZipcodeIsNull() {
            addCriterion("ZIPCODE is null");
            return (Criteria) this;
        }

        public Criteria andZipcodeIsNotNull() {
            addCriterion("ZIPCODE is not null");
            return (Criteria) this;
        }

        public Criteria andZipcodeEqualTo(String value) {
            addCriterion("ZIPCODE =", value, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeNotEqualTo(String value) {
            addCriterion("ZIPCODE <>", value, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeGreaterThan(String value) {
            addCriterion("ZIPCODE >", value, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeGreaterThanOrEqualTo(String value) {
            addCriterion("ZIPCODE >=", value, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeLessThan(String value) {
            addCriterion("ZIPCODE <", value, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeLessThanOrEqualTo(String value) {
            addCriterion("ZIPCODE <=", value, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeLike(String value) {
            addCriterion("ZIPCODE like", value, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeNotLike(String value) {
            addCriterion("ZIPCODE not like", value, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeIn(List<String> values) {
            addCriterion("ZIPCODE in", values, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeNotIn(List<String> values) {
            addCriterion("ZIPCODE not in", values, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeBetween(String value1, String value2) {
            addCriterion("ZIPCODE between", value1, value2, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeNotBetween(String value1, String value2) {
            addCriterion("ZIPCODE not between", value1, value2, "zipcode");
            return (Criteria) this;
        }

        public Criteria andEmailIsNull() {
            addCriterion("EMAIL is null");
            return (Criteria) this;
        }

        public Criteria andEmailIsNotNull() {
            addCriterion("EMAIL is not null");
            return (Criteria) this;
        }

        public Criteria andEmailEqualTo(String value) {
            addCriterion("EMAIL =", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotEqualTo(String value) {
            addCriterion("EMAIL <>", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThan(String value) {
            addCriterion("EMAIL >", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThanOrEqualTo(String value) {
            addCriterion("EMAIL >=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThan(String value) {
            addCriterion("EMAIL <", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThanOrEqualTo(String value) {
            addCriterion("EMAIL <=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLike(String value) {
            addCriterion("EMAIL like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotLike(String value) {
            addCriterion("EMAIL not like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailIn(List<String> values) {
            addCriterion("EMAIL in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotIn(List<String> values) {
            addCriterion("EMAIL not in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailBetween(String value1, String value2) {
            addCriterion("EMAIL between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotBetween(String value1, String value2) {
            addCriterion("EMAIL not between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andOfficeTelIsNull() {
            addCriterion("OFFICE_TEL is null");
            return (Criteria) this;
        }

        public Criteria andOfficeTelIsNotNull() {
            addCriterion("OFFICE_TEL is not null");
            return (Criteria) this;
        }

        public Criteria andOfficeTelEqualTo(String value) {
            addCriterion("OFFICE_TEL =", value, "officeTel");
            return (Criteria) this;
        }

        public Criteria andOfficeTelNotEqualTo(String value) {
            addCriterion("OFFICE_TEL <>", value, "officeTel");
            return (Criteria) this;
        }

        public Criteria andOfficeTelGreaterThan(String value) {
            addCriterion("OFFICE_TEL >", value, "officeTel");
            return (Criteria) this;
        }

        public Criteria andOfficeTelGreaterThanOrEqualTo(String value) {
            addCriterion("OFFICE_TEL >=", value, "officeTel");
            return (Criteria) this;
        }

        public Criteria andOfficeTelLessThan(String value) {
            addCriterion("OFFICE_TEL <", value, "officeTel");
            return (Criteria) this;
        }

        public Criteria andOfficeTelLessThanOrEqualTo(String value) {
            addCriterion("OFFICE_TEL <=", value, "officeTel");
            return (Criteria) this;
        }

        public Criteria andOfficeTelLike(String value) {
            addCriterion("OFFICE_TEL like", value, "officeTel");
            return (Criteria) this;
        }

        public Criteria andOfficeTelNotLike(String value) {
            addCriterion("OFFICE_TEL not like", value, "officeTel");
            return (Criteria) this;
        }

        public Criteria andOfficeTelIn(List<String> values) {
            addCriterion("OFFICE_TEL in", values, "officeTel");
            return (Criteria) this;
        }

        public Criteria andOfficeTelNotIn(List<String> values) {
            addCriterion("OFFICE_TEL not in", values, "officeTel");
            return (Criteria) this;
        }

        public Criteria andOfficeTelBetween(String value1, String value2) {
            addCriterion("OFFICE_TEL between", value1, value2, "officeTel");
            return (Criteria) this;
        }

        public Criteria andOfficeTelNotBetween(String value1, String value2) {
            addCriterion("OFFICE_TEL not between", value1, value2, "officeTel");
            return (Criteria) this;
        }

        public Criteria andMobileIsNull() {
            addCriterion("MOBILE is null");
            return (Criteria) this;
        }

        public Criteria andMobileIsNotNull() {
            addCriterion("MOBILE is not null");
            return (Criteria) this;
        }

        public Criteria andMobileEqualTo(String value) {
            addCriterion("MOBILE =", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotEqualTo(String value) {
            addCriterion("MOBILE <>", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThan(String value) {
            addCriterion("MOBILE >", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThanOrEqualTo(String value) {
            addCriterion("MOBILE >=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThan(String value) {
            addCriterion("MOBILE <", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThanOrEqualTo(String value) {
            addCriterion("MOBILE <=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLike(String value) {
            addCriterion("MOBILE like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotLike(String value) {
            addCriterion("MOBILE not like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileIn(List<String> values) {
            addCriterion("MOBILE in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotIn(List<String> values) {
            addCriterion("MOBILE not in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileBetween(String value1, String value2) {
            addCriterion("MOBILE between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotBetween(String value1, String value2) {
            addCriterion("MOBILE not between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andIsSmsIsNull() {
            addCriterion("IS_SMS is null");
            return (Criteria) this;
        }

        public Criteria andIsSmsIsNotNull() {
            addCriterion("IS_SMS is not null");
            return (Criteria) this;
        }

        public Criteria andIsSmsEqualTo(String value) {
            addCriterion("IS_SMS =", value, "isSms");
            return (Criteria) this;
        }

        public Criteria andIsSmsNotEqualTo(String value) {
            addCriterion("IS_SMS <>", value, "isSms");
            return (Criteria) this;
        }

        public Criteria andIsSmsGreaterThan(String value) {
            addCriterion("IS_SMS >", value, "isSms");
            return (Criteria) this;
        }

        public Criteria andIsSmsGreaterThanOrEqualTo(String value) {
            addCriterion("IS_SMS >=", value, "isSms");
            return (Criteria) this;
        }

        public Criteria andIsSmsLessThan(String value) {
            addCriterion("IS_SMS <", value, "isSms");
            return (Criteria) this;
        }

        public Criteria andIsSmsLessThanOrEqualTo(String value) {
            addCriterion("IS_SMS <=", value, "isSms");
            return (Criteria) this;
        }

        public Criteria andIsSmsLike(String value) {
            addCriterion("IS_SMS like", value, "isSms");
            return (Criteria) this;
        }

        public Criteria andIsSmsNotLike(String value) {
            addCriterion("IS_SMS not like", value, "isSms");
            return (Criteria) this;
        }

        public Criteria andIsSmsIn(List<String> values) {
            addCriterion("IS_SMS in", values, "isSms");
            return (Criteria) this;
        }

        public Criteria andIsSmsNotIn(List<String> values) {
            addCriterion("IS_SMS not in", values, "isSms");
            return (Criteria) this;
        }

        public Criteria andIsSmsBetween(String value1, String value2) {
            addCriterion("IS_SMS between", value1, value2, "isSms");
            return (Criteria) this;
        }

        public Criteria andIsSmsNotBetween(String value1, String value2) {
            addCriterion("IS_SMS not between", value1, value2, "isSms");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonTypeIsNull() {
            addCriterion("RELATED_PERSON_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonTypeIsNotNull() {
            addCriterion("RELATED_PERSON_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonTypeEqualTo(String value) {
            addCriterion("RELATED_PERSON_TYPE =", value, "relatedPersonType");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonTypeNotEqualTo(String value) {
            addCriterion("RELATED_PERSON_TYPE <>", value, "relatedPersonType");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonTypeGreaterThan(String value) {
            addCriterion("RELATED_PERSON_TYPE >", value, "relatedPersonType");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonTypeGreaterThanOrEqualTo(String value) {
            addCriterion("RELATED_PERSON_TYPE >=", value, "relatedPersonType");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonTypeLessThan(String value) {
            addCriterion("RELATED_PERSON_TYPE <", value, "relatedPersonType");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonTypeLessThanOrEqualTo(String value) {
            addCriterion("RELATED_PERSON_TYPE <=", value, "relatedPersonType");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonTypeLike(String value) {
            addCriterion("RELATED_PERSON_TYPE like", value, "relatedPersonType");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonTypeNotLike(String value) {
            addCriterion("RELATED_PERSON_TYPE not like", value, "relatedPersonType");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonTypeIn(List<String> values) {
            addCriterion("RELATED_PERSON_TYPE in", values, "relatedPersonType");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonTypeNotIn(List<String> values) {
            addCriterion("RELATED_PERSON_TYPE not in", values, "relatedPersonType");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonTypeBetween(String value1, String value2) {
            addCriterion("RELATED_PERSON_TYPE between", value1, value2, "relatedPersonType");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonTypeNotBetween(String value1, String value2) {
            addCriterion("RELATED_PERSON_TYPE not between", value1, value2, "relatedPersonType");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonIdIsNull() {
            addCriterion("RELATED_PERSON_ID is null");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonIdIsNotNull() {
            addCriterion("RELATED_PERSON_ID is not null");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonIdEqualTo(String value) {
            addCriterion("RELATED_PERSON_ID =", value, "relatedPersonId");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonIdNotEqualTo(String value) {
            addCriterion("RELATED_PERSON_ID <>", value, "relatedPersonId");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonIdGreaterThan(String value) {
            addCriterion("RELATED_PERSON_ID >", value, "relatedPersonId");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonIdGreaterThanOrEqualTo(String value) {
            addCriterion("RELATED_PERSON_ID >=", value, "relatedPersonId");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonIdLessThan(String value) {
            addCriterion("RELATED_PERSON_ID <", value, "relatedPersonId");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonIdLessThanOrEqualTo(String value) {
            addCriterion("RELATED_PERSON_ID <=", value, "relatedPersonId");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonIdLike(String value) {
            addCriterion("RELATED_PERSON_ID like", value, "relatedPersonId");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonIdNotLike(String value) {
            addCriterion("RELATED_PERSON_ID not like", value, "relatedPersonId");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonIdIn(List<String> values) {
            addCriterion("RELATED_PERSON_ID in", values, "relatedPersonId");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonIdNotIn(List<String> values) {
            addCriterion("RELATED_PERSON_ID not in", values, "relatedPersonId");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonIdBetween(String value1, String value2) {
            addCriterion("RELATED_PERSON_ID between", value1, value2, "relatedPersonId");
            return (Criteria) this;
        }

        public Criteria andRelatedPersonIdNotBetween(String value1, String value2) {
            addCriterion("RELATED_PERSON_ID not between", value1, value2, "relatedPersonId");
            return (Criteria) this;
        }

        public Criteria andSexIsNull() {
            addCriterion("SEX is null");
            return (Criteria) this;
        }

        public Criteria andSexIsNotNull() {
            addCriterion("SEX is not null");
            return (Criteria) this;
        }

        public Criteria andSexEqualTo(String value) {
            addCriterion("SEX =", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotEqualTo(String value) {
            addCriterion("SEX <>", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThan(String value) {
            addCriterion("SEX >", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThanOrEqualTo(String value) {
            addCriterion("SEX >=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThan(String value) {
            addCriterion("SEX <", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThanOrEqualTo(String value) {
            addCriterion("SEX <=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLike(String value) {
            addCriterion("SEX like", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotLike(String value) {
            addCriterion("SEX not like", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexIn(List<String> values) {
            addCriterion("SEX in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotIn(List<String> values) {
            addCriterion("SEX not in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexBetween(String value1, String value2) {
            addCriterion("SEX between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotBetween(String value1, String value2) {
            addCriterion("SEX not between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andEnameIsNull() {
            addCriterion("ENAME is null");
            return (Criteria) this;
        }

        public Criteria andEnameIsNotNull() {
            addCriterion("ENAME is not null");
            return (Criteria) this;
        }

        public Criteria andEnameEqualTo(String value) {
            addCriterion("ENAME =", value, "ename");
            return (Criteria) this;
        }

        public Criteria andEnameNotEqualTo(String value) {
            addCriterion("ENAME <>", value, "ename");
            return (Criteria) this;
        }

        public Criteria andEnameGreaterThan(String value) {
            addCriterion("ENAME >", value, "ename");
            return (Criteria) this;
        }

        public Criteria andEnameGreaterThanOrEqualTo(String value) {
            addCriterion("ENAME >=", value, "ename");
            return (Criteria) this;
        }

        public Criteria andEnameLessThan(String value) {
            addCriterion("ENAME <", value, "ename");
            return (Criteria) this;
        }

        public Criteria andEnameLessThanOrEqualTo(String value) {
            addCriterion("ENAME <=", value, "ename");
            return (Criteria) this;
        }

        public Criteria andEnameLike(String value) {
            addCriterion("ENAME like", value, "ename");
            return (Criteria) this;
        }

        public Criteria andEnameNotLike(String value) {
            addCriterion("ENAME not like", value, "ename");
            return (Criteria) this;
        }

        public Criteria andEnameIn(List<String> values) {
            addCriterion("ENAME in", values, "ename");
            return (Criteria) this;
        }

        public Criteria andEnameNotIn(List<String> values) {
            addCriterion("ENAME not in", values, "ename");
            return (Criteria) this;
        }

        public Criteria andEnameBetween(String value1, String value2) {
            addCriterion("ENAME between", value1, value2, "ename");
            return (Criteria) this;
        }

        public Criteria andEnameNotBetween(String value1, String value2) {
            addCriterion("ENAME not between", value1, value2, "ename");
            return (Criteria) this;
        }

        public Criteria andLicenseNumberIsNull() {
            addCriterion("LICENSE_NUMBER is null");
            return (Criteria) this;
        }

        public Criteria andLicenseNumberIsNotNull() {
            addCriterion("LICENSE_NUMBER is not null");
            return (Criteria) this;
        }

        public Criteria andLicenseNumberEqualTo(String value) {
            addCriterion("LICENSE_NUMBER =", value, "licenseNumber");
            return (Criteria) this;
        }

        public Criteria andLicenseNumberNotEqualTo(String value) {
            addCriterion("LICENSE_NUMBER <>", value, "licenseNumber");
            return (Criteria) this;
        }

        public Criteria andLicenseNumberGreaterThan(String value) {
            addCriterion("LICENSE_NUMBER >", value, "licenseNumber");
            return (Criteria) this;
        }

        public Criteria andLicenseNumberGreaterThanOrEqualTo(String value) {
            addCriterion("LICENSE_NUMBER >=", value, "licenseNumber");
            return (Criteria) this;
        }

        public Criteria andLicenseNumberLessThan(String value) {
            addCriterion("LICENSE_NUMBER <", value, "licenseNumber");
            return (Criteria) this;
        }

        public Criteria andLicenseNumberLessThanOrEqualTo(String value) {
            addCriterion("LICENSE_NUMBER <=", value, "licenseNumber");
            return (Criteria) this;
        }

        public Criteria andLicenseNumberLike(String value) {
            addCriterion("LICENSE_NUMBER like", value, "licenseNumber");
            return (Criteria) this;
        }

        public Criteria andLicenseNumberNotLike(String value) {
            addCriterion("LICENSE_NUMBER not like", value, "licenseNumber");
            return (Criteria) this;
        }

        public Criteria andLicenseNumberIn(List<String> values) {
            addCriterion("LICENSE_NUMBER in", values, "licenseNumber");
            return (Criteria) this;
        }

        public Criteria andLicenseNumberNotIn(List<String> values) {
            addCriterion("LICENSE_NUMBER not in", values, "licenseNumber");
            return (Criteria) this;
        }

        public Criteria andLicenseNumberBetween(String value1, String value2) {
            addCriterion("LICENSE_NUMBER between", value1, value2, "licenseNumber");
            return (Criteria) this;
        }

        public Criteria andLicenseNumberNotBetween(String value1, String value2) {
            addCriterion("LICENSE_NUMBER not between", value1, value2, "licenseNumber");
            return (Criteria) this;
        }

        public Criteria andKeymanIsNull() {
            addCriterion("KEYMAN is null");
            return (Criteria) this;
        }

        public Criteria andKeymanIsNotNull() {
            addCriterion("KEYMAN is not null");
            return (Criteria) this;
        }

        public Criteria andKeymanEqualTo(String value) {
            addCriterion("KEYMAN =", value, "keyman");
            return (Criteria) this;
        }

        public Criteria andKeymanNotEqualTo(String value) {
            addCriterion("KEYMAN <>", value, "keyman");
            return (Criteria) this;
        }

        public Criteria andKeymanGreaterThan(String value) {
            addCriterion("KEYMAN >", value, "keyman");
            return (Criteria) this;
        }

        public Criteria andKeymanGreaterThanOrEqualTo(String value) {
            addCriterion("KEYMAN >=", value, "keyman");
            return (Criteria) this;
        }

        public Criteria andKeymanLessThan(String value) {
            addCriterion("KEYMAN <", value, "keyman");
            return (Criteria) this;
        }

        public Criteria andKeymanLessThanOrEqualTo(String value) {
            addCriterion("KEYMAN <=", value, "keyman");
            return (Criteria) this;
        }

        public Criteria andKeymanLike(String value) {
            addCriterion("KEYMAN like", value, "keyman");
            return (Criteria) this;
        }

        public Criteria andKeymanNotLike(String value) {
            addCriterion("KEYMAN not like", value, "keyman");
            return (Criteria) this;
        }

        public Criteria andKeymanIn(List<String> values) {
            addCriterion("KEYMAN in", values, "keyman");
            return (Criteria) this;
        }

        public Criteria andKeymanNotIn(List<String> values) {
            addCriterion("KEYMAN not in", values, "keyman");
            return (Criteria) this;
        }

        public Criteria andKeymanBetween(String value1, String value2) {
            addCriterion("KEYMAN between", value1, value2, "keyman");
            return (Criteria) this;
        }

        public Criteria andKeymanNotBetween(String value1, String value2) {
            addCriterion("KEYMAN not between", value1, value2, "keyman");
            return (Criteria) this;
        }

        public Criteria andKeymanIdcardIsNull() {
            addCriterion("KEYMAN_IDCARD is null");
            return (Criteria) this;
        }

        public Criteria andKeymanIdcardIsNotNull() {
            addCriterion("KEYMAN_IDCARD is not null");
            return (Criteria) this;
        }

        public Criteria andKeymanIdcardEqualTo(String value) {
            addCriterion("KEYMAN_IDCARD =", value, "keymanIdcard");
            return (Criteria) this;
        }

        public Criteria andKeymanIdcardNotEqualTo(String value) {
            addCriterion("KEYMAN_IDCARD <>", value, "keymanIdcard");
            return (Criteria) this;
        }

        public Criteria andKeymanIdcardGreaterThan(String value) {
            addCriterion("KEYMAN_IDCARD >", value, "keymanIdcard");
            return (Criteria) this;
        }

        public Criteria andKeymanIdcardGreaterThanOrEqualTo(String value) {
            addCriterion("KEYMAN_IDCARD >=", value, "keymanIdcard");
            return (Criteria) this;
        }

        public Criteria andKeymanIdcardLessThan(String value) {
            addCriterion("KEYMAN_IDCARD <", value, "keymanIdcard");
            return (Criteria) this;
        }

        public Criteria andKeymanIdcardLessThanOrEqualTo(String value) {
            addCriterion("KEYMAN_IDCARD <=", value, "keymanIdcard");
            return (Criteria) this;
        }

        public Criteria andKeymanIdcardLike(String value) {
            addCriterion("KEYMAN_IDCARD like", value, "keymanIdcard");
            return (Criteria) this;
        }

        public Criteria andKeymanIdcardNotLike(String value) {
            addCriterion("KEYMAN_IDCARD not like", value, "keymanIdcard");
            return (Criteria) this;
        }

        public Criteria andKeymanIdcardIn(List<String> values) {
            addCriterion("KEYMAN_IDCARD in", values, "keymanIdcard");
            return (Criteria) this;
        }

        public Criteria andKeymanIdcardNotIn(List<String> values) {
            addCriterion("KEYMAN_IDCARD not in", values, "keymanIdcard");
            return (Criteria) this;
        }

        public Criteria andKeymanIdcardBetween(String value1, String value2) {
            addCriterion("KEYMAN_IDCARD between", value1, value2, "keymanIdcard");
            return (Criteria) this;
        }

        public Criteria andKeymanIdcardNotBetween(String value1, String value2) {
            addCriterion("KEYMAN_IDCARD not between", value1, value2, "keymanIdcard");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}